package com.nwcl.basic.service;

import com.nwcl.basic.bo.UserIntegralFlowBO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author liguiqin
 * @date 2023/5/26
 */
public interface UserIntegralFlowService {
    /*
     * @Description: 保存用户积分流水
     * @Author liguiqin
     * @Date 2023/5/26 16:34
     * @param: bo
     * @return java.lang.Integer
     * @UpdateDate 2023/5/26 16:34
     **/
    Integer save(UserIntegralFlowBO bo);

    /*
     * @Description: 根据订单id获取积分
     * @Author liguiqin
     * @Date 2023/5/29 14:31
     * @param: orderIds
     * @return UserIntegralFlowBO
     * @UpdateDate 2023/5/29 14:31
     **/
    Map<Integer,UserIntegralFlowBO> mapByOrderIds(List<Integer> orderIds);
}
